package com.other.thread.base;

public class KeyPersonThread extends Thread{
	@Override
	public void run() {
		System.out.println(getName()+"开始战斗");
		
		for (int i = 0; i < 10; i++) {
			System.out.println(getName()+"发出进攻---");
		}
		
		System.out.println(getName()+"结束战斗");
	}
}
